<HTML>
<HEAD>
<meta charset="UTF-8">
<title>ContentShareController.addContentShareObserver - amazon-chime-sdk</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">amazon-chime-sdk</a>&nbsp;/&nbsp;<a href="../index.html">com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare</a>&nbsp;/&nbsp;<a href="index.html">ContentShareController</a>&nbsp;/&nbsp;<a href="./add-content-share-observer.html">addContentShareObserver</a><br/>
<br/>
<h1>addContentShareObserver</h1>
<a name="com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare.ContentShareController$addContentShareObserver(com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare.ContentShareObserver)"></a>
<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">addContentShareObserver</span><span class="symbol">(</span><span class="identifier" id="com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare.ContentShareController$addContentShareObserver(com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare.ContentShareObserver)/observer">observer</span><span class="symbol">:</span>&nbsp;<a href="../-content-share-observer/index.html"><span class="identifier">ContentShareObserver</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
<p>Subscribe the given observer to content share events (sharing started and stopped).</p>
<h3>Parameters</h3>
<p><a name="observer"></a>
<code>observer</code> - : <a href="../-content-share-observer/index.html">ContentShareObserver</a> - The observer to be notified for events.</p>
</BODY>
</HTML>
